@font-face {
  font-family: 'Cousine';
  font-style: normal;
  font-weight: 400;
  src: local('Cousine'), url('fonts/Cousine.woff') format('woff');
}

::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background-color : white;
    border-radius: 2px;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
}

body { 
    background-color: rgb(39, 40, 34);
    margin: 0 auto; 
    font-size: 90%;
}

button {
    background-color: #777;
    border: none;
    border-radius: 2px;
    color: white;
    font-weight: bold;
    height: 28px;
    margin: 0;
    padding: 0 16px;
    outline: none;
}

button:active {
    background-color: #555;
}

canvas {
    box-shadow: 0 -50px 2px #999;
    height: 512px;
    left: 512px;
    position: absolute;
    top: 0px;
    width: 512px;
}

select {
    background-color: rgba(200, 200, 200, 0.9);
    border: none;
    border-radius: 2px;
    box-shadow: 0 0 2px #999;
    height: 28px;
    min-width: 160px;
    padding: 4px;
    outline: none;
}

select:focus {
    background-color: white;
    box-shadow: 0 0 2px #DDD;
}

.CodeMirror {
    font-family: Cousine !important;
    height: 496px;
    margin: 8px;
    width: 496px;
    z-index: 1;
}

.hidden {
    opacity: .2;
}

.actions {
    bottom: 12px;
    left: 0px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.view {
    left: 0px;
    position: absolute;
    top: 0px;
    transition: opacity .2s ease-in;
}

#saveButton {
    margin-left: 16px;
}

#textarea {
    display: none;
}
